//
//  XXJButton.m
//  不得姐
//
//  Created by 许小军 on 16/9/4.
//  Copyright © 2016年 wyzc. All rights reserved.
//

#import "XXJButton.h"
#import "UIView+Frame.h"
@implementation XXJButton

-(void)layoutSubviews
{
    [super layoutSubviews];
    self.imageView.cur_y=0;
    self.imageView.cur_centerX=self.frame.size.width*0.5;
    
    self.titleLabel.cur_centerY=self.frame.size.height-self.titleLabel.frame.size.height;
    [self.titleLabel sizeToFit];
    self.titleLabel.cur_centerX=self.frame.size.width*0.5;
    
    
    
    
    
}

@end
